<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      function zhishu(num) {
        for (var i = 2; i < num; i++) {
          if (num % i === 0) {
            return false;
          } else {
            return true;
          }
        }
      }console.log(zhishu(25));
    </script>
  </body>
</html>
